package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 最爱喝兽奶
 * @create 2022/9/29
 **/
@Data
@TableName(value = "T_EVALUATION")
public class Evaluation implements Serializable {

    /**
     * id
     */
    @TableId
    private String id;

    /**
     * 作答的学生id
     */
    @TableField(value = "response_user_id")
    private String responseUserId;

    /**
     * 评价学生的id
     */
    @TableField(value = "evaluation_user_id")
    private String evaluationUserId;

    /**
     * 作业id
     */
    @TableField(value = "homework_id")
    private String homeworkId;

    /**
     * 评估日期
     */
    @TableField(value = "evaluation_date")
    private Date evaluationDate;

    /**
     * 得分
     */
    @TableField(value = "score")
    private Integer score;

    /**
     * 班级id
     */
    @TableField(value = "class_id")
    private String classId;

    /**
     * 互评截止时间
     */
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 互评的状态
     */
    @TableField(value = "is_evaluation")
    private Integer isEvaluation;
}
